package com.erp.fin.service;

import com.erp.fin.domain.ReceiptDO;

import java.util.List;
import java.util.Map;

/**
 * 收款管理
 * 
 * @author Eric
 * @email shiliang900713@163.com
 * @date 2019-08-28 14:13:31
 */
public interface ReceiptService {
	
	ReceiptDO get(Long id);
	
	List<ReceiptDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(ReceiptDO receipt);
	
	int update(ReceiptDO receipt);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);

	int cofirmAmount(Long id);

    List<ReceiptDO> listByitm(Long id);
}
